USAGE: thin inimg outimg [-k K] [-n MAXITER] [-d DISPLAY] [-I] [-L]
thin performs iterative thinning of binary objects
in input image to produce skeleton image with values
OFF (0) anf ON (255)
ARGUMENTS:
inimg: input image filename (TIF)
outimg: output image filename (TIF)
OPTIONS:
-k K: window size for kxk mask (k >= 3,
default = 3)
-n NITER: maximum number of iterations (default max = 20)
-d: to display results of
each iteration (< 40x40 image)
-I: invert input image before
processing
-L: print Software License
for this module
Example:
thin magstrp.tif magstrpTH.tif
magstrp.tif:
magstrpTH.tif:
Copyright (C) 1999 MLMSoftware Group, LLC.